home *** CD-ROM | disk | FTP | other *** search
- Newsgroups: comp.sys.amiga.misc
- Path: mozart.unx.sas.com!jamie
- From: jamie@cdevil.unx.sas.com (James Cooper)
- Subject: Re: .key
- Originator: jamie@cdevil.unx.sas.com
- Sender: news@unx.sas.com (Noter of Newsworthy Events)
- Message-ID: <DM3n7s.952@unx.sas.com>
- Date: Thu, 1 Feb 1996 13:38:16 GMT
- X-Nntp-Posting-Host: cdevil.unx.sas.com
- References: <1996Jan23.163238.27082@nosc.mil>
- Organization: SAS Institute Inc.
-
-
- In article <1996Jan23.163238.27082@nosc.mil>, gdunn@bluefish.nosc.mil (Gary E. Dunn) writes:
- >I have a game that is started by executing a script
- >via iconx. What puzzles me is that the following
- >command line is executed before the game is started:
- >
- >.key dummy
- >
- >This puzzles me because there are no files on the disk
- >named .key or dummy. Is anyone familiar with this
- >command?
-
- A quick perusal of The AmigaDOS Manual, The Amiga GURU Book,
- or any other reference on the Amiga will show that this is
- a script command, recognised by the system.
-
- .key <foo>
-
- means to use <foo> as an argument in the script, for getting
- command line input. It is very similar to a Template for
- ReadArgs()... in fact, it *is* a Template for ReadArgs()!
-
- I have written a script recently, which is very similar to:
- (may not be exact - I don't have it handy to verify!)
-
- -------------------------------------------------------------
- .key beta/s,bump/s,clean/s,newtek/s,scala/s
- .bra {
- .ket }
-
- if not {bump} eq ""
- ...
- endif
- ...
- -------------------------------------------------------------
-
- --
- ---------------
- Jim Cooper
- (jamie@unx.sas.com) bix: jcooper
-
- Any opinions expressed herein are mine (Mine, all mine! Ha, ha, ha!),
- and not necessarily those of my employer.
-
- I'm NOT Politically Correct, but that's because I'm "Sensitivity Challenged."
-